package com.ozy.kxreader.mvp.contract

import com.ozy.kxreader.base.IModel
import com.ozy.kxreader.base.IView
import com.ozy.kxreader.mvp.model.entity.BookList
import io.reactivex.Observable

/**
 * Created by 欧源 on 2018/1/30.
 */
interface BookListContract {


    interface View : IView {
        fun showBookList(books: List<BookList.BooksBean>, refresh: Boolean)
    }


    interface Model : IModel {
        fun getBookList(gender: String?, major: String?, minor: String?, type: String?, start: Int, limit: Int): Observable<BookList>

    }


}